<!doctype html>
<html lang="zh-Hans">

<head>
    <meta charset="utf-8">
    <meta name="author" content="Fresns" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="generator" content="Bootstrap 5">
    <title>列表模块介绍</title>
    <link rel="stylesheet" href="../../assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../assets/css/bootstrap-icons.css">
    <link rel="stylesheet" href="../../assets/css/fresns.css">
</head>

<body>
    <!--页头-->
    <header>
        <div class="text-center mt-5"><img src="../../assets/images/fresns-icon.png" height="80"></div>
    </header>

    <div class="container-fluid mb-5">
        <div class="text-center my-5">
            <div class="text-center mt-3">
                <div class="btn-group">
                    <a href="../style/post.html" class="btn btn-outline-primary">样式</a>
                    <a href="post.html" class="btn btn-outline-primary active">结构</a>
                    <a href="../desc/post.html" class="btn btn-outline-primary">说明</a>
                </div>
            </div>
        </div>
        <ul class="nav nav-tabs justify-content-center">
            <li class="nav-item"><a class="nav-link" href="../index.html">首页</a></li>
            <li class="nav-item"><a class="nav-link" href="member.html">成员列表</a></li>
            <li class="nav-item"><a class="nav-link" href="group.html">小组列表</a></li>
            <li class="nav-item"><a class="nav-link" href="hashtag.html">话题列表</a></li>
            <li class="nav-item"><a class="nav-link active" href="post.html">帖子列表</a></li>
            <li class="nav-item"><a class="nav-link" href="comment.html">评论列表</a></li>
            <li class="nav-item"><a class="nav-link" href="extend.html">扩展内容模板</a></li>
            <li class="nav-item"><a class="nav-link" href="implant.html">植入内容模板</a></li>
        </ul>
    </div>

    <div class="lists-box clearfix">
        <!--帖子代码结构-->
        <div class="card">
            <div class="card-header">帖子</div>
            <div class="card-body d-flex flex-column p-3">
                <code>&lt;div class="position-relative d-flex flex-column"&gt;</code>
                    <code style="padding-left:2rem;">&lt;div class="post-member order-0"&gt;</code>
                        <code style="padding-left:4rem;" class="text-secondary">帖子作者信息（包含帖子发表时间和位置信息）</code>
                    <code style="padding-left:2rem;">&lt;/div&gt;</code>
                    <code style="padding-left:2rem;">&lt;div class="post-content order-2 mx-3 position-relative"&gt;</code>
                        <code style="padding-left:4rem;" class="text-secondary">帖子标题（包括标题图、置顶状态、精华状态）</code>
                        <code style="padding-left:4rem;" class="text-secondary">帖子内容</code>
                    <code style="padding-left:2rem;">&lt;/div&gt;</code>
                    <code style="padding-left:2rem;">&lt;div class="post-allow order-3"&gt;</code>
                        <code style="padding-left:4rem;" class="text-secondary">帖子权限信息</code>
                    <code style="padding-left:2rem;">&lt;/div&gt;</code>
                    <code style="padding-left:2rem;">&lt;div class="post-file order-3 mx-3 clearfix"&gt;</code>
                        <code style="padding-left:4rem;" class="text-secondary">附属文件</code>
                    <code style="padding-left:2rem;">&lt;/div&gt;</code>
                    <code style="padding-left:2rem;">&lt;div class="post-extend order-4 mx-3"&gt;</code>
                        <code style="padding-left:4rem;" class="text-secondary">附属扩展内容</code>
                    <code style="padding-left:2rem;">&lt;/div&gt;</code>
                    <code style="padding-left:2rem;">&lt;div class="position-absolute top-0 end-0"&gt;</code>
                        <code style="padding-left:4rem;" class="text-secondary">帖子角标图</code>
                    <code style="padding-left:2rem;">&lt;/div&gt;</code>
                    <code style="padding-left:2rem;">&lt;div class="post-append order-4 mx-3 mt-3 d-flex"&gt;</code>
                        <code style="padding-left:4rem;">&lt;div class="post-group me-auto"&gt;</code>
                            <code style="padding-left:6rem;" class="text-secondary">帖子小组信息</code>
                        <code style="padding-left:4rem;">&lt;/div&gt;</code>
                        <code style="padding-left:4rem;">&lt;div class="post-member-list"&gt;</code>
                            <code style="padding-left:6rem;" class="text-secondary">帖子特定成员信息</code>
                        <code style="padding-left:4rem;">&lt;/div&gt;</code>
                    <code style="padding-left:2rem;">&lt;/div&gt;</code>
                    <code style="padding-left:2rem;">&lt;div class="post-comment order-4 mx-3 mt-3 position-relative"&gt;</code>
                        <code style="padding-left:4rem;" class="text-secondary">帖子热评信息</code>
                    <code style="padding-left:2rem;">&lt;/div&gt;</code>
                    <code style="padding-left:2rem;">&lt;div class="post-interaction order-5 mt-3 px-3 d-flex"&gt;</code>
                        <code style="padding-left:4rem;" class="text-secondary">帖子交互功能</code>
                    <code style="padding-left:2rem;">&lt;/div&gt;</code>
                <code>&lt;/div&gt;</code>
            </div>
        </div>
        <!--帖子图片附件结构-->
        <div class="card mt-4">
            <div class="card-header">帖子附件-图片</div>
            <div class="card-body d-flex flex-column p-3">
                <code>&lt;a href="<kbd>imageBigUrl</kbd>" class="position-relative"&gt;</code>
                <code style="padding-left:2rem;margin-top:0.4rem;">&lt;img src="<kbd>files > imageRatioUrl</kbd>" class="img-fluid"&gt;</code>
                <code style="padding-left:2rem;margin-top:0.4rem;">&lt;span class="position-absolute bottom-0 end-0 badge bg-light text-dark me-3 mb-2"&gt;长图&lt;/span&gt;</code>
                <code>&lt;/a&gt;</code>
            </div>
        </div>
        <!--帖子视频附件结构-->
        <div class="card mt-4">
            <div class="card-header">帖子附件-视频</div>
            <div class="card-body d-flex flex-column p-3">
                <code>&lt;div class="position-relative"&gt;</code>
                <code style="padding-left:2rem;margin-top:0.4rem;margin-bottom:0.4rem;">&lt;img src="<kbd>files > videoGif</kbd>" class="img-fluid"&gt;</code>
                <code style="padding-left:2rem;">&lt;div class="position-absolute top-50 start-50 translate-middle"&gt;</code>
                <code style="padding-left:4rem;">&lt;button type="button" class="btn btn-light btn-video-play" data-bs-toggle="tooltip" data-bs-placement="top" title="播放"&gt;</code>
                <code style="padding-left:6rem;">&lt;i class="bi bi-play-fill"&gt;&lt;/i&gt;</code>
                <code style="padding-left:4rem;">&lt;/button&gt;</code>
                <code style="padding-left:2rem;">&lt;/div&gt;</code>
                <code>&lt;/div&gt;</code>
            </div>
        </div>
        <!--帖子音频附件结构-->
        <div class="card mt-4">
            <div class="card-header">帖子附件-音频</div>
            <div class="card-body d-flex flex-column p-3">
                <code>&lt;audio src="<kbd>files > audioUrl</kbd>" class="w-100 py-1" controls="controls" preload="meta" controlsList="nodownload" oncontextmenu="return false"&gt;</code>
                <code style="padding-left:2rem;" class="text-secondary">Your browser does not support the audio element.</code>
                <code>&lt;/audio&gt;</code>
            </div>
        </div>
        <!--帖子文档附件结构-->
        <div class="card mt-4">
            <div class="card-header">帖子附件-文档</div>
            <div class="card-body d-flex flex-column p-3">
                <code>&lt;button type="button" class="btn doc-box" data-bs-toggle="modal" data-bs-target="#downloadModal"&gt;</code>
                <code style="padding-left:2rem;">&lt;div class="doc-icon"&gt;</code>
                <code style="padding-left:4rem;">&lt;i class="bi bi-file-earmark-word"&gt;&lt;/i&gt;</code>
                <code style="padding-left:2rem;">&lt;/div&gt;</code>
                <code style="padding-left:2rem;">&lt;div class="doc-name text-nowrap overflow-hidden"&gt;</code>
                <code style="padding-left:4rem;"><kbd>files > name</kbd></code>
                <code style="padding-left:2rem;">&lt;/div&gt;</code>
                <code>&lt;/button&gt;</code>
            </div>
        </div>
    </div>

    <footer class="text-center" style="margin-top:100px;">
        <div><img src="../../assets/images/fresns-logo.png" height="30"></div>
        <p class="mt-3 mb-5"><a href="https://tangjie.me" target="_blank">唐杰出品</a></p>
    </footer>

    <script src="../../assets/javascript/bootstrap.bundle.min.js"></script>
    <script src="../../assets/javascript/fresns.js"></script>
</body>

</html>